package com.lightjet.macross.base.upms.repository;

import com.lightjet.macross.base.upms.domain.ResourceInfo;
import com.lightjet.macross.base.upms.domain.SystemInfo;
import com.lightjet.macross.common.core.BaseRepository;
import io.lettuce.core.output.ReplayOutput;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("resourceInfoRepository")
public interface ResourceInfoRepository extends BaseRepository<ResourceInfo, Integer> {

    List<ResourceInfo> findAllByParentAndBelongsystem(ResourceInfo paren, SystemInfo systemInfo);

    ResourceInfo findDistinctById(Integer id);
}
